<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
    <title>编辑用户</title>
</head>
<body>
    <h1>编辑用户</h1>
    <form action="${pageContext.request.contextPath}/user/edit" method="post">
        <input type="hidden" name="id" value="${user.id}">
        <label>用户名: <input type="text" name="username" value="${user.username}"></label><br>
        <label>密码: <input type="password" name="password" value="${user.password}"></label><br>
        <input type="submit" value="提交">
    </form>
</body>
</html>